package com.chagee.store.operation.server.redis.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

@Getter
@Setter
@AllArgsConstructor
public abstract class AbstractLock {
	private long createTime;
	private boolean success = false;

	public AbstractLock() {
		this.createTime = Instant.now().getEpochSecond();
	}
}
